home *** CD-ROM | disk | FTP | other *** search
/ CSi Master: Ableton Live 5 / CSi Master: Ableton Live 5.iso / pc / rsrc / defaults / interface / interface.cst / 00018_MI3.ls < prev    next >
Encoding:
Text File  |  2004-04-15  |  1.3 KB  |  63 lines

  1. on mouseDown
  2.   global textDispVisible,PSMdispVisible,Master,PSMtextVis,topicLetter, subtopicNumber,lineSelect,mediaChoice,mediaName,mediaField, gFade, gMute
  3.   
  4.   put line lineSelect of field mediaField into mediaList
  5.   
  6.   if item 1 of mediaList = 3 then
  7.     put item 2 of mediaList into mediaName
  8.   end if
  9.   if item 3 of mediaList = 3 then
  10.     put item 4 of mediaList into mediaName
  11.   end if
  12.   if item 5 of mediaList = 3 then
  13.     put item 6 of mediaList into mediaName
  14.   end if
  15.   
  16.   set master = "MI3"
  17.   
  18.   set mediaChoice = 1.0
  19.   
  20.   global PSMdispVisible
  21.   
  22.   if not PSMdispVisible  then
  23.     openPSMdisp
  24.   end if
  25.   
  26.   PSMupdate
  27.   
  28.   if gMute = 0 then
  29.     repeat while the volume of sound 2 > 4
  30.       set the volume of sound 2 to (the volume of sound 2 - 4)
  31.       updateStage
  32.       put the timer into time
  33.       repeat while the timer <= time
  34.         nothing
  35.       end repeat
  36.     end repeat
  37.     set the volume of sound 2 to 0
  38.     updateStage
  39.     set gFade = 1
  40.   end if
  41.   
  42.   ----------- AUTO OPEN TEXT DISPLAY
  43.   global gAutoOpenTextDisplay
  44.   if gAutoOpenTextDisplay = 1 then
  45.     set the visible of sprite 2 to true
  46.     global PSMtextVis
  47.     if PSMtextVis then
  48.       closePSMtext
  49.     else
  50.       openPSMtext
  51.     end if
  52.   end if
  53.   -------------------
  54.   
  55. end
  56.  
  57. on mouseenter
  58.   ShowTextRoll "TextRoll-Sound"
  59. end
  60.  
  61. on mouseleave
  62.   HideTextRoll
  63. end